package com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillApplyNotify.request;

import com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillApplyNotify.request.Auth;
import com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillApplyNotify.request.EDIPrintDetailList;
import com.ruoyi.project.express.api.service.baishi.sdk.BaseRequest;
import com.ruoyi.project.express.api.service.baishi.sdk.BaseResponse;
import com.ruoyi.project.express.api.service.baishi.sdk.Parser;


public class KyWaybillApplyNotifyReq implements BaseRequest {
	private boolean deliveryConfirm;
	private String msgID;
	private Auth auth;
	private EDIPrintDetailList EDIPrintDetailList;

    public boolean getDeliveryConfirm()
    {
        return this.deliveryConfirm;
    }

    public void setDeliveryConfirm(boolean value)
    {
        this.deliveryConfirm = value;
    }

    public String getMsgID()
    {
        return this.msgID;
    }

    public void setMsgID(String value)
    {
        this.msgID = value;
    }

    public Auth getAuth()
    {
        return this.auth;
    }

    public void setAuth(Auth value)
    {
        this.auth = value;
    }

    public EDIPrintDetailList getEDIPrintDetailList()
    {
        return this.EDIPrintDetailList;
    }

    public void setEDIPrintDetailList(EDIPrintDetailList value)
    {
        this.EDIPrintDetailList = value;
    }

    public String obtainServiceType() {
        return "KY_WAYBILL_APPLY_NOTIFY";
    }

    public BaseResponse makeResponse(String rsp, String format) {
        if ("xml".equalsIgnoreCase(format)) {
			return Parser.coverXml2Object(rsp, com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillApplyNotify.response.KyWaybillApplyNotifyRsp.class);
		}
		return Parser.convertJson2Object(rsp, com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillApplyNotify.response.KyWaybillApplyNotifyRsp.class);

    }

}
